/* homepage.css */

/* Reset basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* Body Styling */
body {
   background: linear-gradient(135deg, #121212, #1f2c4c, #23395d, #2e4a7d, #ffcc70);
  background-size: 500% 500%;
  animation: gradientFlow 20s ease infinite;
  color: #ffffff;
  min-height: 100vh;
  font-family: 'Segoe UI', sans-serif;
  padding: 20px;

}
h1, h2, h3, p, label {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}


@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* Header Section */
.header {
  text-align: center;
  margin-bottom: 30px;
}

.header h1 {
  font-size: 2.7rem;
  color: #fff;
  border-bottom: 3px solid #ffd700;
  display: inline-block;
  padding-bottom: 5px;
  text-shadow: 0 0 10px #ffd700aa;
}

.header p {
  font-size: 1.1rem;
  color: #ccbb36;
}


/* Notice Bar Styling */
#noticeWrapper {
  margin-top: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  background-color: #b8c321; /* light yellow */
  border-top: 2px solid #facc15;
  border-bottom: 2px solid #facc15;
  padding: 8px 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#noticeBar {
  white-space: nowrap;
  overflow: hidden;
}

#noticeText {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 12s linear infinite;
  font-size: 1.1rem;
  font-weight: bold;
  color: #154dda;
  
}



/* 🔁 Scrolling Animation */
@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}





/* Year Buttons */
.categories {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

/* Title Styling */
.categories h2 {
  width: 100%;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  color: #ffffff; /* Matches button border color */
  margin: 0 0 15px 0; /* Space below heading */
  padding: 8px 0;
  text-shadow: 0 0 8px rgba(0, 224, 255, 0.6);
  
}

.categories h2 i {
  font-style: italic;
  opacity: 0.9;
}

.year-btn {
  padding: 10px 22px;
  background: #000;
  color: #00e0ff;
  border: 2px solid #00e0ff;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px #00e0ff60;
}

.year-btn:hover {
  background: #00e0ff;
  color: #000;
  box-shadow: 0 0 20px #00e0ff, 0 0 30px #00e0ff;
}

/* PDF Results Section */
.pdf-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 10px;
}

/* Individual PDF Card */
.pdf-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.pdf-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4); /* Gold glow */
}

.pdf-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffd700;
}

.pdf-card a {
  text-decoration: none;
  color: #000;
  background: #ffd700;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.pdf-card a:hover {
  background: #fff;
  transform: scale(1.05);
}


/* PDF Upload Form Styles */
#uploadForm {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 16px;
  max-width: 600px;
  margin: 2rem auto;
  font-family: 'Segoe UI', sans-serif;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Form Title Styling */
#uploadForm h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1.5rem; /* space below title */
  margin-top: 0;         /* remove default top margin */
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}


#uploadForm label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
  color: #f5f5f5;
}

#uploadForm select,
#uploadForm input[type="file"] {
  width: 100%;
  padding: 0.6rem;
  border: none;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  font-size: 1rem;
  background: #f9f9f9;
  color: #333;
}

#uploadForm button {
  width: 100%;
  padding: 0.8rem;
  background: linear-gradient(to right, #004aad, #00d4ff);
  border: none;
  border-radius: 10px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#uploadForm button:hover {
  box-shadow: 0 0 10px #00d4ff;
  transform: scale(1.03);
}



/* Suggestion Box Section */
.suggestion-section {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.suggestion-section h2 {
  font-size: 1.75rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 1rem;
}

.suggestion-section input,
.suggestion-section textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ffffff;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.suggestion-section textarea {
  resize: vertical;
}

.suggestion-section button {
  background-color: #2563eb;
  color: white;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 500;
}

.suggestion-section button:hover {
  background-color: #1d4ed8;
}

#statusMessage {
  color: #16a34a;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  display: none;
}


#progressContainer {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

#progressBar {
  transition: width 0.3s ease;
}